package com.es.designmode.bridge;

/**
 * 桥接类
 * 关键在这里定义
 *
 * @author Will
 */
public class Abstraction {
    private Implementor implementor;

    public Implementor getImplementor() {
        return implementor;
    }

    public void setImplementor(Implementor implementor) {
        this.implementor = implementor;
    }

    public void operation() {
        implementor.operation();
    }
}
